{[include file="../../../../library/view/templates/header.tpl"]}
<script src="{[$host]}/js/goods/goodsFormulaList.js" type="text/javascript" language="javascript"></script>
{[include file="../../../../library/view/templates/common.tpl"]}
<div id="BMainContents">
        <div class="BSpace10px">
        </div>
        <div id="BMainTitleH1">
            {[$goods_EC0006_H1]}</div><div id="BError">{[include file="../../../../library/view/templates/tag/error.tpl"]}</div>
        <div class="BSpace10px">
            <input type="hidden" id="hidPageModel" name="hidPageModel" value="{[$strPageModel]}">
        </div>
        <table width="160" border="0" cellpadding="0" cellspacing="0" style="margin-left: 15px;">
            <tr>
                <td width="65%" align="center" class="title" style="border: 1px solid #dfdfdf; background-color: #F9F9F9;
                    padding: 3px 8px;">
                    {[$goods_EC0006_H2]}
                </td>
                <td width="35%" align="center" style="border: 1px solid #dfdfdf; background-color: #F9F9F9;
                    padding: 3px 8px;">
                     {[$intForMulaNum]}{[$goods_EC0006_Unit]}
                </td>
            </tr>
        </table>
        <div class="BSpace10px">
        </div>
        <div class="BSpace10px" align = "right">
        <input class = "BGrayBtn" type = "button" name = "addFormula" id = "addFormula"  value = "{[$goods_EC0006_addFormula]}" onclick = "goods_addFormula()"/>
        </div>
        <div class="BSpace10px"> </div><div class="BSpace10px"> </div>
            <form id="goodsFormulaListFrom" name="goodsFormulaListFrom" method="post" action="">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td>
                        <div class="BFenceTopLeft">
                        </div>
                        <div class="BFenceTopRight">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="BFenceSideLine">
                            <div>{[$goods_EC0006_FomulaName]}:&nbsp;&nbsp;<input type = "text" name = "txtFromulaName" id= "txtFromulaName" value = ""/> &nbsp;&nbsp;
                            <input type = "button" class="BGrayBtn" name= "btnSearch" id = "btnSearch" value = "{[$goods_EC0006_Search]}" onclick = "goods_FormuLaSearch()"/></div>
                       </td>
                </tr>
                <tr>
                    <td>
                        <div class="BFenceBottomLeft">
                        </div>
                        <div class="BFenceBottomRight">
                        </div>
                    </td>
                </tr>
            </table>
            <div  class="BSpace10px">
                <input type="hidden" id="hidNumFg" name="hidNumFg"/>
            </div>
            </form>
            <div id="tb_" class="BTabFenceTop">
            </div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td class="BFenceSideLine">
                      
                        
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td  align="right" class="BPasingArea">
                                    <div id="orderHead">
                                        {[include file="../../../../library/view/templates/tag/order.tpl"]}
                                    </div>
                                    <div id="pageHead">
                                        {[include file="../../../../library/view/templates/tag/pager.tpl"]}
                                    </div>
                                </td>
                            </tr>
                        </table>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="BListTable" id="tblDataTable">
                            <tr id="trHeader_orderHead">
                                <td width="50%" class="BListTableHeader" align="center">
                                    NO.
                                </td>
                                <td width="50%" class="BListTableHeader" align="center">
                                    {[$goods_EC0006_FomulaName]}
                                </td>
                            </tr>
                          {[foreach from = $arrFormula key = key item = msg]}
                            <tr>
                                <td width="3%" class="BListTableNonmarginGray" align="center">
                                    {[$fromRecord+$key]}
                                </td>
                                <td width="7%" class="BListTableNonmarginGray" align="center">
                                    <a href = "{[$host]}goods/goodsFormulaDetail/index/formulaNo/{[$msg.FORMULA_NO]}" >{[$msg.FORMULA_NAME]}</a>
                                </td>
                            </tr>
                          {[/foreach]}
                         </table>
                        
            <div class="BSpace20px">
            </div>
            <div class="BSpace20px">
            </div>
            </td>
            </tr>
            </table>
        </div>
{[include file="../../../../library/view/templates/footer.tpl"]}